package com.xqc.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xqc.dao.TUserMapper;
import com.xqc.mode.TUser;
import com.xqc.service.TUserService;

/**
* @author 作者 Gavin.Dai/SNSSZ00036
* @dateTime 创建时间：2020年8月18日 下午3:27:14
* @version V1.0.0
* 类说明
*/
@Service
public class TUserServiceImpl implements TUserService{

	@Autowired
	private TUserMapper tUserMapper;
	
	@Override
	public boolean insert(TUser user) {
		return this.tUserMapper.insert(user) >= 1;
	}

	@Override
	public List<TUser> selectByUserIds(List<Long> userIds) {
		return this.tUserMapper.selectByUserIds(userIds);
	}

	@Override
	public List<TUser> selectAll() {
		return this.tUserMapper.selectAll();
	}

}
